package com.example.neptune.startproject_109zj.service;

import com.example.neptune.startproject_109zj.bean.WeatherResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Neptune on 2017/3/15.
 */
//Retrofit定义接口
public interface Weather51Service {
    @GET("GetMoreWeather")
    Call<WeatherResult>  getResult(@Query("cityCode")String cityNumber,
                                   @Query("weatherType")int weatherType);

}
